package cn.linjianhui.api.client.invoker;

import java.util.List;

public interface Serializer {
    <T> T deserialize(String input, Class<T> returnType);

    <T> List<T> deserializeArray(String input, Class<T> returnType);

    String serialize(Object data);
}
